home *** CD-ROM | disk | FTP | other *** search
/ Nautilus 1992 July / Nautilus-3-8 / Nautilus-3-8.bin / Tools & Utilities / Techy Stuff / Source ƒ / egrep-1.5 / grep-src / TransDisplay.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-08-25  |  1.3 KB  |  46 lines

  1. #pragma once
  2. /*
  3.     TransDisplay.h - TransDisplay header file
  4.     
  5.     For TransDisplay version 2.0.
  6. */
  7.  
  8. # ifndef    __WINDOWMGR__
  9. # include    "Windows.h"
  10. # endif
  11.  
  12. # ifndef    __TEXTEDIT__
  13. # include    "TextEdit.h"
  14. # endif
  15.  
  16. #ifndef Integer
  17. #define Integer short int
  18. #define Longint long int
  19. #endif
  20.  
  21. # ifndef    nil
  22. # define    nil        (0L)
  23. # endif
  24.  
  25. Boolean IsDWindow(WindowPtr theWind);
  26. TEHandle GetDWindowTE(WindowPtr theWind);
  27. int SetDWindowStyle(WindowPtr theWind, Integer font, Integer size, Integer wrap, Integer just);
  28. int SetDWindowPos(WindowPtr theWind, Integer lineNum);
  29. int SetDWindowNotify(WindowPtr theWind, ProcPtr p);
  30. int SetDWindowFlush(WindowPtr theWind, Longint maxText, Longint flushAmt);
  31. int SetDWindow(WindowPtr theWind);
  32. int GetDWindow(WindowPtr *theWind);
  33. int FlushDWindow(WindowPtr theWind, Longint byteCount);
  34. WindowPtr NewDWindow(Rect *bounds, StringPtr title, Boolean visible, WindowPtr behind, Boolean goAway, Longint refCon);
  35. WindowPtr GetNewDWindow(Integer resourceNum, WindowPtr behind);
  36. int DisplayText(Ptr theText, Longint len);
  37. int DisplayString(StringPtr theStr);
  38. int DisplayLong(Longint l);
  39. int DisplayInt(Integer i);
  40. int DisplayChar(char c);
  41. int DisplayLn(void);
  42. int DisplayBoolean(Boolean b);
  43. int DisplayHexChar(char c);
  44. int DisplayHexInt(Integer i);
  45. int DisplayHexLong(Longint l);
  46.